<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .style1{
            float: left;
            width: 200px;
            height: 200px;
            background-color: #8d8d8d;
            margin: 10px;
        }

        .style2{
            width: 500px;
            height: 500px;
            background-color: #fffab0;
        }
    </style>
</head>
<body>
    <div class="style1"></div>
    <div class="style2"></div>
</body>
</html>